package com.scau.dao;

import com.scau.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface AdminDao extends JpaRepository<Admin, Long> {

    Admin findByAccountAndPassword(String account, String password);

}
